#ifndef IPUIRQ_H
#define IPUIRQ_H

#include <QtGui/QMainWindow>
#include "ui_ipuirq.h"
#include <QTimer>
#include <QResizeEvent>
#include <QGraphicsScene>

class ipuIRQ : public QMainWindow
{
	Q_OBJECT

public:
	ipuIRQ(QWidget *parent = 0, Qt::WFlags flags = 0);
	~ipuIRQ();

private:
	Ui::ipuIRQClass ui;
	QTimer timer;
	int timerDelay;
	int maxDeph;
	int minDeph;
	int deph;

	QPixmap originalImage;
	QPixmap imageCurrent;

public slots:
	void update();
	void play();
	void reset();
	void step();
	void stop();

protected:
	virtual void resizeEvent(QResizeEvent *event);
};

#endif // IPUIRQ_H
